⬆️ Bump recharts to 3.9.0#110
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
|
3501b2c to
78fcf17
Compare
78fcf17 to
1ee38d5
Compare
1ee38d5 to
62ff8fb
Compare
62ff8fb to
33f77e2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.6.0→^3.9.0Release Notes
recharts/recharts (recharts)
v3.9.0Compare Source
What's Changed
Animations
3.9 comes with new animations! There are several bug fixes and what's best, all animations are now fully customizable.
See the animations guide on https://recharts.github.io/en-US/guide/animations/
New features other than animations
Bugfixes
Tree-shaking
We now have focused tree-shaking tests that allow us to observe exactly which components end up in the final bundle and why. I have also removed some unnecessary loops and you should see the final bundle size decrease somewhat as a result.
There are also two new examples on the website, showing real bundle size:
Documentation updates
New Contributors
Full Changelog: recharts/recharts@v3.8.1...v3.9.0-canary.0
v3.8.1Compare Source
What's Changed
Bugfixes!
New Contributors
Full Changelog: recharts/recharts@v3.8.0...v3.8.1
v3.8.0Compare Source
What's Changed
We added generics to our
dataanddataKeyprops and now you can have your charts validated by TypeScript. See the full guide here: https://recharts.github.io/en-US/guide/typescript/We are releasing new helper functions and hooks that will allow you to precisely target mouse interactions, and convert coordinates. See the guide here: https://recharts.github.io/en-US/guide/coordinateSystems/
And new functions and hooks:
getRelativeCoordinate - converts mouse events to pixel positions
Convert Data → Pixels:
useXAxisScale - returns a function to convert X data values to pixel positions
useYAxisScale - returns a function to convert Y data values to pixel positions
useCartesianScale - convenience hook for converting both at once
Pixels → Data:
useXAxisInverseScale - returns a function to convert pixel X to the closest data value
useYAxisInverseScale - returns a function to convert pixel Y to the closest data value
useXAxisInverseTickSnapScale - returns a function to convert pixel X to the closest axis tick
useYAxisInverseTickSnapScale - returns a function to convert pixel Y to the closest axis tick
Accessing Ticks:
useXAxisTicks - returns the calculated ticks of an X-axis
useYAxisTicks - returns the calculated ticks of a Y-axis
Feat
Hooks: New hooks (see above) by @PavelVanecek in #6960Annotations: exportgetRelativeCoordinatehelper function by @PavelVanecek in #6942Legend: Add label style prop in Legend by @devoldemar in #7012XAxis/YAxis: newniceTIcksprop - specify'none' | 'auto' | 'equidistant' | 'nice'for different behaviors by @MaxGhenis in #7009General: Add event throttling controls to chart props by @PavelVanecek in #6924Fix
Pie: fix: enable tooltip synchronization for PieChart by @VIDHITTS in #6989Pie: fix: sync pie tooltip/legend color with per-sector fill by @2YH02 in #6977Bar: Fix activeBar highlighting with missing/null data by @Copilot in #7001Bar: Support Bar CSS transitions by @PavelVanecek in #6920XAxis/YAxis: respect user-provided textAnchor prop on XAxis/YAxis by @pierreeurope in #7028Tooltip: Close tooltip on blur by @gVguy in #6958General: fix error whenonMouseEnter/Leave={undefined}by @SvetlanaVesna in #6969Animation: [animations] auto disable primitives animations based on user system preferences by @cloud-walker in #6956Animation/Line: fix: prevent animated line flicker with round/square strokeLinecap by @roy7 in #7022Performance: filter zero-dimension rectangles early by @MendyLanda in #6800Types
Bar: Add generics to Bar by @PavelVanecek in #7015RadialBar: shape type and selector stability by @PavelVanecek in #6917LabelList/Area: Enhance type definitions for LabelList and Area components by @PavelVanecek in #6936PieFix Pie event handlers type by @PavelVanecek in #6944Pie/RadialBar: Fix event types for Pie and RadialBar by @PavelVanecek in #6965PolarAngleAxis: Fix PolarAngleAxis event types, add tests for remaining components by @PavelVanecek in #7000Tooltip: payload type from any by @PavelVanecek in #6925XAxis/YAxis: update event types for XAxis and YAxis, add type tests by @PavelVanecek in #7004General: Add external generics to Area by @PavelVanecek in #6993General: Add optional explicit generics to graphical items and charts by @PavelVanecek in #7035General: New feature - typed charts helper by @PavelVanecek in #7071General: Fix mouse event type by @PavelVanecek in #6939Docs
New Contributors
Full Changelog: recharts/recharts@v3.7.0...v3.8.0
v3.7.0Compare Source
What's Changed
📢‼️
Cellis now deprecated and will be removed in the next major version. Please migrate allCellusage to use theshapeprop of respective chart elements.Feat
New Hooks
useIsTooltipActive: returns if the tooltip is active by @PavelVanecek in #6880useActiveTooltipCoordinate: returns current tooltip coordinate by @PavelVanecek in #6880Other
Tooltip: allowoffsetprop to accept Coordinate object by @bigsaigon333 in #6868X/YAxisadd new axis type: "auto" by @PavelVanecek in #6823X/YAxis: replacetick: anywith explicit type by @PavelVanecek in #6911Bar/TypeScript: addBarShapePropstype to fixBar.shapetype by @PavelVanecek in #6900TypeScript: add missing useful type exports forcontent,shapefunctions, etc. @PavelVanecek in #6852Fix
BarChart: fixstackOffset=signfor charts with 3 or more positive values in one series by @PavelVanecek in #6807BarStack: fix circular dependency when building with vite by @jkr2255 in #6777BarStack: fixBarStackclipPathin charts withstackOffset=signby @PavelVanecek in #6806BarStack: apply bar stack radius to active bars by @PavelVanecek in #6906Chore
stricttsconfig by @PavelVanecek in #6842Docs
We've started auto-generating our docs for the most part so you should see large improvements in accuracy of the docs between the code, the website, and the storybook. Huge shoutout to @PavelVanecek 🚀
New Contributors
Full Changelog: recharts/recharts@v3.6.0...v3.7.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.